package com.filyar.htyd.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.filyar.htyd.entity.Person;
import com.filyar.htyd.mapper.PersonMapper;
import com.filyar.htyd.service.IPersonService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author filyar
 * @since 2024-08-29
 * @e-mail root@filyar.com
 */
@Service
public class PersonServiceImpl extends ServiceImpl<PersonMapper, Person> implements IPersonService {

    @Resource
    private PersonMapper personMapper;

    @Override
    public Page<Person> customPage(Page<Person> page, String realName, String phone) {
        return personMapper.customPage(page, realName, phone);
    }
}
